home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ASME's Mechanical Engine…ing Toolkit 1997 December
/
ASME's Mechanical Engineering Toolkit 1997 December.iso
/
fea_str
/
msafe3d2.lzh
/
SOLVPRNT.BAS
< prev
Wrap
BASIC Source File
|
1988-02-18
|
995b
|
25 lines
10 ' Allow the user to align top of page in the printer
12 PRINT "Make sure the printer is on and the paper is at the top of page.
14 PRINT "Then press any key to continue."
16 A$=INKEY$:IF A$="" THEN 16
20 ' Reset printer to clear any previous settings
22 LPRINT CHR$(27);"@";
30 ' Set printer PORT to LPT1: and printer LINE WIDTH to 132 columns
32 WIDTH "LPT1:",132
34 PRINT:PRINT "The printer PORT is LPT1:."
36 PRINT "The LINE WIDTH is set to 132 columns."
40 ' Set printing MODE to COMPRESSED printing
42 LPRINT CHR$(15);
44 PRINT "The COMPRESSED printing MODE has been set."
50 ' Set PAGE LENGTH to 11 inches
52 LPRINT CHR$(27);"C";CHR$(0);CHR$(11);
54 PRINT "The PAGE LENGTH has been set to 11 inches."
60 ' Set LINE SPACING to 1/8 of an inch
62 LPRINT CHR$(27);"0";
64 PRINT "The LINE SPACING has been set to 1/8 of an inch."
70 ' SKIP 8 lines OVER THE PERFORATIONS
72 LPRINT CHR$(27);"N";CHR$(8);
74 PRINT "SKIP 8 lines OVER THE PERFORATIONS."
80 SYSTEM
90 END